package com.parktech.sun.domain.service.downloadcenter;

import com.parktech.sun.domain.model.downloadcenter.ResourceFile;
import com.parktech.sun.domain.model.downloadcenter.ResourceType;
import com.parktech.sun.domain.repository.Page;
import com.parktech.sun.domain.service.BaseService;

import java.util.List;

/**
 * User: Think
 * Date: 11-1-23
 * Time: 下午11:51
 */
public interface ResourceFileService extends BaseService<ResourceFile> {

    Page search(String name, Integer publishStatus, Page page);

    Page searchType(String name, Page page);

    ResourceType getTypeById(Long resourceTypeId);

    void saveOrUpdateType(ResourceType resourceType);

    List<ResourceFile> listAll();
}
